﻿using amuudp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace amuudp
{
    class FenpingServer
    {
        private UdpServer receiver;

        private UdpServer sender;

        public FenpingServer(IServerEvents serverEvents)
        {
            receiver = new UdpServer(1, 8111, serverEvents);
            receiver.Start();
            sender = new UdpServer(1, 8112, serverEvents);
            sender.Start();
        }
    }
}
